package org.openstock.impl.def.charting.ui.swing.view;

import org.openstock.api.charting.model.Pan;
import org.openstock.api.charting.model.Zoom;
import org.openstock.api.charting.view.StockChartView;
import org.openstock.impl.def.charting.ui.swing.model.AbstractSwingChart;
import org.openstock.impl.def.core.ui.swing.view.AbstractSwingView;
import org.openstock.impl.def.core.ui.swing.wrapper.JComponent;

public class DefaultStockChartView extends AbstractSwingView<AbstractSwingChart> 
	implements StockChartView<JComponent,AbstractSwingChart> {
	private static final long serialVersionUID = -6371222568510549508L;

	private Pan pan;
	private Zoom zoom; 
	
	public void setPan(Pan pan) {
		this.pan = pan;
	}

	public void setZoom(Zoom zoom) {
		this.zoom = zoom;
	}

	public Zoom getZoom() {
		return zoom;
	}

	public Pan getPan() {
		return pan;
	}

}
